package com.company.project.dao;

import com.company.project.core.Mapper;
import com.company.project.model.VO.FilterVO;
import com.company.project.model.VO.StatisticsDetailDO;
import com.company.project.model.VtZhusu;
import com.company.project.model.VtZuzhuang;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VtZuzhuangMapper extends Mapper<VtZuzhuang> {
    List<VtZuzhuang> findListByGroupId(@Param("groupId") Integer groupId);

    List<VtZuzhuang> findTodayListByGroupId(@Param("startTime") long startTime, @Param("endTime")long endTime, @Param("groupId") Integer groupId, @Param("isExamine") Integer isExamine);

    List<VtZuzhuang> findHistoryListByGroupId(@Param("startTime") long startTime, @Param("groupId") Integer groupId, @Param("isExamine") Integer isExamine);

    List<VtZuzhuang> findTodayAllList(@Param("isExamine") Integer isExamine);

    List<VtZuzhuang> findHistoryAllList(FilterVO filterVO);

    Integer getOperatorCount(@Param("startTime") long startTime, @Param("endTime")long endTime,@Param("groupId") Integer groupId,@Param("classes") Integer classes);

    List<StatisticsDetailDO> getStatisticsDetail(@Param("startTime") long startTime, @Param("endTime")long endTime, @Param("groupId") Integer groupId, @Param("classes") Integer classes);

}